package com.hoshiicloud.market.service.commission;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.commission.CommissionProfile;

/**
 * @Author:campchen
 * @Date:Created in 上午 10:06 2019/7/25
 * @PACKAGENAME com.hoshiicloud.user.service.commission
 * @Description
 */
public interface CommissionProfileService extends IService<CommissionProfile> {

    CommissionProfile getById(Long id);

    boolean save(CommissionProfile entity);

    boolean updateById(CommissionProfile entity);

    /*boolean updateById(Long id, Integer sataus);*/

    /*Collection<CommissionProfile> listByIds(Collection<? extends Serializable> idList);*/

    IPage<CommissionProfile> getPage(IPage<CommissionProfile> page, QueryWrapper<CommissionProfile> queryWrapper, String key);
}
